
#define	MV_RX_SIZE		1024
#define	MV_TX_SIZE		256

//unsigned char ucMV_PairingStatus;
#define	MV_PAIRING_DISABLED	0x00
#define	MV_PAIRING_ENABLED	0x01

//unsigned char ucMV_HFP_HSP_Status;
typedef  enum{
	MV_HFS_INITIALISING,
	MV_HFS_DISCORVERABLE,
	MV_HFS_CONNECTABLE = 0x03,
	MV_HFS_CONNECTED,
	MV_HFS_OUTGOING,
	MV_HFS_INCOMING,
	MV_HFS_ACTIVE_CALL,
	MV_HFS_3WC_WAITING,
	MV_HFS_3WC_HOLD,
	MV_HFS_3WC_MULTI
}MV_HF_STATUS;

//unsigned char ucMV_A2DP_Status;
typedef  enum{
	MV_A2DP_CONNECTABLE,
	MV_A2DP_SIGNALING_CHANNEL_CONNECTED,
	MV_A2DP_CONNECTED,
	MV_A2DP_STREAMING,
	MV_A2DP_PAUSED
}MV_AV_STATUS;

//unsigned char ucMV_AVRCP_Status;
typedef enum{
	MV_AVRCP_INITIALISING,
	MV_AVRCP_READY,
	MV_AVRCP_CONNECTING,
	MV_AVRCP_CONNECTED
}MV_AVRCP_STATUS;

//unsigned char ucMV_PBAP_Status;
typedef enum{
	MV_PBAP_READY,
	MV_PBAP_CONNECTING,
	MV_PBAP_CONNECTED,
	MV_PBAP_DOWNLOADING,
	MV_PBAP_NO_SERVICE
}MV_PB_STATUS;

typedef enum{
	MV_CALL_ACTIVE,
	MV_CALL_HELD,
	MV_CALL_DIALING,
	MV_CALL_ALERTING,
	MV_CALL_INCOMING,
	MV_CALL_WAITING
}MV_CALL_STATUS;

typedef enum{
	MV_MIC_MUTE_OFF,
	MV_MIC_MUTE_ON
}MV_MIC_STATUS;

typedef enum{
	HF_AUDIO_PHONE,
	HF_AUDIO_AG,
}MV_HF_AUDIO;

typedef enum{
	MV_HFP_UNKNOWN,
	MV_HFP_HSP,
	MV_HFP_HFP10,
	MV_HFP_HFP15,
}MV_HF_PROFILE;

#define	MV_TX_NONE		0
#define	MV_TX_ACTIVED	1

unsigned short MV_TX_GetWritePtr(void);
unsigned short MV_TX_GetReadPtr(void);
unsigned char MV_TX_GetUartMode(void);
void MV_TX_SetUartMode(unsigned char ucMode);
void MV_TX_WriteBuf(unsigned char ucData);
unsigned char MV_TX_GetBuf(void);


